]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
8 years agolocation: Use translated reason string
Florian Müllner [Mon, 8 Jan 2018 15:56:43 +0000 (16:56 +0100)]
location: Use translated reason string

Gio now has API to look up localized strings from desktop files,
so we can display a correctly translated reason where available.

https://bugzilla.gnome.org/show_bug.cgi?id=779413

8 years agonetworkAgent: Update VPN config path
Florian Müllner [Mon, 11 Dec 2017 17:37:45 +0000 (18:37 +0100)]
networkAgent: Update VPN config path

The location moved a while ago, so update the path to point to
the non-deprecated location.

https://bugzilla.gnome.org/show_bug.cgi?id=791487

8 years agoman: Update project website
Piotr Drąg [Sun, 7 Jan 2018 20:39:18 +0000 (21:39 +0100)]
man: Update project website

8 years agoUpdated Slovenian translation
Matej Urbančič [Sun, 31 Dec 2017 10:38:12 +0000 (11:38 +0100)]
Updated Slovenian translation

8 years agoUpdate Swedish translation
Anders Jonsson [Tue, 26 Dec 2017 11:44:38 +0000 (11:44 +0000)]
Update Swedish translation

8 years agoUpdate Turkish translation
Emin Tufan Çetin [Wed, 20 Dec 2017 19:56:13 +0000 (19:56 +0000)]
Update Turkish translation

8 years agoUpdate Latvian translation
Rūdolfs Mazurs [Mon, 18 Dec 2017 18:16:45 +0000 (20:16 +0200)]
Update Latvian translation

8 years agobackground: don't leak wall clock when background changes
Ray Strode [Fri, 15 Dec 2017 15:05:34 +0000 (10:05 -0500)]
background: don't leak wall clock when background changes

The background code allocates a GnomeWallClock when its first created,
but neglects to drop a reference to that clock at destroy time.
The undestroyed clocks lead to a timerfd leak that eventually prevents
the shell from functioning.

https://bugzilla.gnome.org/show_bug.cgi?id=791655

8 years agoUpdate Friulian translation
Fabio Tomat [Fri, 15 Dec 2017 12:30:08 +0000 (12:30 +0000)]
Update Friulian translation

8 years agoUpdate Spanish translation
Daniel Mustieles [Wed, 13 Dec 2017 15:35:10 +0000 (15:35 +0000)]
Update Spanish translation

8 years agosystem: Align submenu labels with parent
Florian Müllner [Sun, 19 Nov 2017 19:35:25 +0000 (20:35 +0100)]
system: Align submenu labels with parent

All section titles use an icon, while all corresponding submenu items
are plain-text. As a result, labels in submenus aren't aligned with
the labels in the parent, which makes them harder to read and look
unbalanced. Address this by adding additional whitespace to submenu
items to account for the additional elements in the title.

https://bugzilla.gnome.org/show_bug.cgi?id=706191

8 years agoUpdate Arabic translation
Khaled Hosny [Sun, 10 Dec 2017 09:32:35 +0000 (11:32 +0200)]
Update Arabic translation

8 years agoUpdate Catalan translation
Jordi Mas [Fri, 8 Dec 2017 09:51:15 +0000 (10:51 +0100)]
Update Catalan translation

8 years agoUpdate Icelandic translation
Sveinn í Felli [Fri, 8 Dec 2017 09:01:12 +0000 (09:01 +0000)]
Update Icelandic translation

(cherry picked from commit 74f4447b38e33dafbdd08a72368280d3f0193c48)

8 years agodateMenu: Fix possible crash with unknown locations
Bastien Nocera [Mon, 4 Dec 2017 13:30:01 +0000 (14:30 +0100)]
dateMenu: Fix possible crash with unknown locations

If there are locations unknown to the libgweather version gnome-shell is
using, don't crash.

JS ERROR: TypeError: b.location is null
WorldClocksSection<._clocksChanged/<@resource:///org/gnome/shell/ui/dateMenu.js:141:1
WorldClocksSection<._clocksChanged@resource:///org/gnome/shell/ui/dateMenu.js:139:9

https://bugzilla.gnome.org/show_bug.cgi?id=791148

8 years agodateMenu: Ignore malformed world-clocks settings
Bastien Nocera [Mon, 4 Dec 2017 13:30:01 +0000 (14:30 +0100)]
dateMenu: Ignore malformed world-clocks settings

Guard against a malformed setting that doesn't contain a
'location' key.

https://bugzilla.gnome.org/show_bug.cgi?id=791148

8 years agodash: Do not shadow ClutterActor's destroy()
Marco Trevisan (Treviño) [Tue, 5 Dec 2017 22:04:24 +0000 (17:04 -0500)]
dash: Do not shadow ClutterActor's destroy()

Since commit ef1e27966db2 turned DashItemContainer into an StWidget,
the destroy() method overrides the ClutterActor method, which is at
the very least bad style. Instead, follow the usual pattern of using
a ::destroy handler.

https://bugzilla.gnome.org/show_bug.cgi?id=791233

8 years agodash: Make sure item labels are only destroyed once
Marco Trevisan (Treviño) [Tue, 5 Dec 2017 01:45:35 +0000 (20:45 -0500)]
dash: Make sure item labels are only destroyed once

Labels are currently destroyed from both animateOutAndDestroy()
and destroy(), which now (rightfully) triggers a gjs warning. As
the label is created unconditionally since commit 36e5ae4a250,
mirror that and always release it in destroy() and hide it
elsewhere.

https://bugzilla.gnome.org/show_bug.cgi?id=791233

8 years agoUpdate Indonesian translation
Kukuh Syafaat [Tue, 5 Dec 2017 14:58:58 +0000 (14:58 +0000)]
Update Indonesian translation

8 years agobuild: Remove Build API wrapper
Florian Müllner [Fri, 1 Dec 2017 15:02:24 +0000 (16:02 +0100)]
build: Remove Build API wrapper

GNOME Continuous gained native meson support, so we don't need the
wrapper script anymore.

8 years agobuild: Stop detecting features automatically
Florian Müllner [Sat, 25 Nov 2017 06:15:39 +0000 (07:15 +0100)]
build: Stop detecting features automatically

Auto-detect options add some convenience for platforms where a
particular feature isn't available - systemd on non-Linux OS comes
to mind - but the downside is that it is easy to accidentally build
without a desired feature. We consider the latter much more serious
nowadays, so turn our auto-detect options into regular boolean
options.

https://bugzilla.gnome.org/show_bug.cgi?id=791007

8 years agobuild: Remove 'enable' prefix from option names
Florian Müllner [Sat, 25 Nov 2017 06:10:26 +0000 (07:10 +0100)]
build: Remove 'enable' prefix from option names

Meson options are typed, so the prefix isn't necessary, and indeed
looks odd when used to disable the option:
 -Denable_foo=false

Also replace underscores with dashes, which is the preferred meson
style.

https://bugzilla.gnome.org/show_bug.cgi?id=791007

8 years agoUpdated Hebrew tranlsation
Yosef Or Boczko [Sun, 26 Nov 2017 20:32:27 +0000 (22:32 +0200)]
Updated Hebrew tranlsation

8 years agoUpdated Hebrew tranlsation
Yosef Or Boczko [Sun, 26 Nov 2017 20:19:39 +0000 (22:19 +0200)]
Updated Hebrew tranlsation

8 years agoUpdated Lithuanian translation
Aurimas Černius [Sat, 25 Nov 2017 19:53:01 +0000 (21:53 +0200)]
Updated Lithuanian translation

8 years agoUpdated Czech translation
Marek Cernocky [Wed, 22 Nov 2017 09:17:51 +0000 (10:17 +0100)]
Updated Czech translation

8 years agosystemActions: Add more keywords
Jeremy Bicha [Tue, 29 Aug 2017 20:26:03 +0000 (16:26 -0400)]
systemActions: Add more keywords

https://bugzilla.gnome.org/show_bug.cgi?id=786987

8 years agosystemActions: Use Title Case
Jeremy Bicha [Tue, 29 Aug 2017 20:23:48 +0000 (16:23 -0400)]
systemActions: Use Title Case

Use Title Case for the new GNOME 3.26 System Action shortcuts,
to match basically everything else in the Activities Overview.

https://bugzilla.gnome.org/show_bug.cgi?id=786987

8 years agoextension: log message if extension could not be installed
Gautier Pelloux-Prayer [Fri, 6 Jan 2017 12:08:29 +0000 (13:08 +0100)]
extension: log message if extension could not be installed

https://bugzilla.gnome.org/show_bug.cgi?id=776940

8 years agostatus/keyboard: Reset menuItems and Label objects on change
Marco Trevisan (Treviño) [Sat, 28 Oct 2017 07:23:02 +0000 (02:23 -0500)]
status/keyboard: Reset menuItems and Label objects on change

In the current code it could happen that we've menuItems and indicatorLabels
for sources that aren't anymore around, because in case a source is removed
we don't cleanup the their container objects.
Also, we should nullify InputManager's _currentSource when sources change
or it might point to some invalid data again.

So it could happen that we try to access an invalid menuitem or label
if a source change happens mentioning a source that has been deleted.

https://bugzilla.gnome.org/show_bug.cgi?id=788931

8 years agoUpdate Czech translation
Petr Kovar [Sun, 19 Nov 2017 11:36:17 +0000 (12:36 +0100)]
Update Czech translation

8 years agooverview: Protect ::drag-end handlers
Carlos Garnacho [Thu, 16 Nov 2017 16:27:12 +0000 (17:27 +0100)]
overview: Protect ::drag-end handlers

These end up emitting item-drag-end/window-drag-end pretty much
without checks. Given the MetaDnd object may end up emitting
::drag-leave as a result of the plugin ending its grab, this
would result on spurious emission of those events and subsequent
warnings.

For extra paranoia, the _inDrag variable has been split into
_inItemDrag/_inWindowDrag so we can't cross the streams.

https://bugzilla.gnome.org/show_bug.cgi?id=784545

9 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Thu, 9 Nov 2017 19:20:46 +0000 (20:20 +0100)]
Updated Norwegian bokmål translation.

9 years agoUpdate Arabic translation
Khaled Hosny [Fri, 3 Nov 2017 08:18:20 +0000 (10:18 +0200)]
Update Arabic translation

9 years agopanel: focus windows on Escape key press
Stefano Facchini [Wed, 1 Nov 2017 18:43:11 +0000 (19:43 +0100)]
panel: focus windows on Escape key press

https://bugzilla.gnome.org/show_bug.cgi?id=671121

9 years agostyle: Fix left tile preview
Florian Müllner [Wed, 1 Nov 2017 18:54:01 +0000 (19:54 +0100)]
style: Fix left tile preview

Windows that are tiled to the left/right only use rounded corners
where they are attached to the edge, the preview should follow that.

9 years agowindowAttentionHandler: Fix typo
Florian Müllner [Thu, 26 Oct 2017 17:54:09 +0000 (19:54 +0200)]
windowAttentionHandler: Fix typo

Gah, thanks Alessandro Bono for the quick catch ...

9 years agowindowAttentionHandler: Follow app policy for attention notifications
Florian Müllner [Mon, 23 Oct 2017 08:06:18 +0000 (10:06 +0200)]
windowAttentionHandler: Follow app policy for attention notifications

While window attention notifications are created by the shell itself
rather than applications (most likely as a result of focus stealing
prevention), users still commonly link them to the application for
which they are shown. It makes therefore sense to follow the appropriate
policy set by the user rather than showing them unconditionally.

https://bugzilla.gnome.org/show_bug.cgi?id=779974

9 years agotheme: Restore drag effect between workspaces
Alessandro Bono [Thu, 26 Oct 2017 17:09:37 +0000 (19:09 +0200)]
theme: Restore drag effect between workspaces

When dragging a window between two workspaces a light effect used
to be present. The effect was lost probably during the theme revamp
in version 3.16.

https://bugzilla.gnome.org/show_bug.cgi?id=789103

9 years agodialog: Reset initial focus on destroy
Florian Müllner [Thu, 5 Oct 2017 08:06:10 +0000 (10:06 +0200)]
dialog: Reset initial focus on destroy

Since 0b02f757f862 we track the button that should have key focus
when the dialog is opened. However when the dialog is reused, the
button may get destroyed - clear the initial focus in that case to
allow setButton() to set a new one.

https://bugzilla.gnome.org/show_bug.cgi?id=788542

9 years agoUpdate Dutch translation
Hannie Dumoleyn [Wed, 25 Oct 2017 09:06:02 +0000 (09:06 +0000)]
Update Dutch translation

9 years agomain: use SA_NODEFER to track signals to being able to raise from alarm
Marco Trevisan (Treviño) [Tue, 24 Oct 2017 05:28:33 +0000 (00:28 -0500)]
main: use SA_NODEFER to track signals to being able to raise from alarm

After we receive one of the tracked signals, in case we get stuck inside
the gjs_dumpstack () call, we use an alarm to raise the previously emitted
signal, however without using SA_NODEFER, the raise inside the alarm handler
will be ignored.

To avoid to handle new signals caused by the handler calls, once we get the
first signal, we just ignore them all as they could only lead to dirty traces.

Also, cleaning up a bit the code, and disabling the shell log handler
in dump_gjs_stack_alarm_sigaction since this might lead to a new
gjs_dumpstack () request.

https://bugzilla.gnome.org/show_bug.cgi?id=789237

9 years agomain: call gjs_dumpstack on aborts and traps and optionally on segfaults
Marco Trevisan (Treviño) [Fri, 20 Oct 2017 10:41:59 +0000 (05:41 -0500)]
main: call gjs_dumpstack on aborts and traps and optionally on segfaults

In order to debug issues triggered by JS code we might need to
see the stack of it, this is not normally visible in static stack traces,
thus we need to call gjs_dumpstack () before dying the process.

Intercepting signals SIGABRT, SIGTRAP (needed for catching fatal glib
errors) SIGFPE and SIGIOT by default, while introducing a new
'backtrace-segfaults' flag for the SHELL_DEBUG environment variable to
do the same on SIGSEGV and SIGBUS (this is a precaution to avoid that we
corrupt the stack for automatic errors trackers).

In any case after dumping the stack we raise the signal again, in order
to make the system aware of it.

https://bugzilla.gnome.org/show_bug.cgi?id=789237

9 years agowindow-tracker: use generic meta_window_get_sandboxed_app_id
Marco Trevisan (Treviño) [Sat, 21 Oct 2017 02:49:24 +0000 (21:49 -0500)]
window-tracker: use generic meta_window_get_sandboxed_app_id

This is valid for both Flatpak's and snaps now, we can use a more generic
API then.

https://bugzilla.gnome.org/show_bug.cgi?id=789277

9 years agoUpdate zh_CN translation
Mingcong Bai [Sat, 21 Oct 2017 11:35:59 +0000 (19:35 +0800)]
Update zh_CN translation

9 years agonetwork: Spawn wifi panel for further WPA enterprise configuration
Florian Müllner [Fri, 20 Oct 2017 13:29:07 +0000 (15:29 +0200)]
network: Spawn wifi panel for further WPA enterprise configuration

Settings recently split Wi-Fi configuration from the Network panel,
so launch that instead.

https://bugzilla.gnome.org/show_bug.cgi?id=789231

9 years agobluetooth: Add missing 'BluetoothHardwareAirplaneMode' to D-Bus interface
Mario Sanchez Prada [Tue, 17 Oct 2017 16:51:48 +0000 (18:51 +0200)]
bluetooth: Add missing 'BluetoothHardwareAirplaneMode' to D-Bus interface

This D-Bus property was never been added here, which caused inconsistencies
under some scenarios (e.g. coming back from suspend) if some devices were
previously paired, since _sync() would then make the bluetooth menu visible
unconditially, because of the proxied property evaluating to 'false'.

Adding this to the D-Bus interface makes sure that it's no longer undefined
and returns the right value, fixing the bug.

https://bugzilla.gnome.org/show_bug.cgi?id=789110

9 years agoBump version to 3.27.1
Florian Müllner [Tue, 17 Oct 2017 15:47:51 +0000 (17:47 +0200)]
Bump version to 3.27.1

Update NEWS.

9 years agopopupMenu: Fix setting ImageMenuItem's icons via strings
Florian Müllner [Sun, 15 Oct 2017 22:09:52 +0000 (00:09 +0200)]
popupMenu: Fix setting ImageMenuItem's icons via strings

Commit 28ca96064bcb added support for setting PopupImageMenuItem's icons
via GIcons as well as via strings. However as the check whether an object
implements the GIcon interface only works on GObjects, specifying an icon
name was broken. Fix that to actually allow both strings and GIcons.

https://bugzilla.gnome.org/show_bug.cgi?id=789018

9 years agogdm: Remove separate greeter universal access icon
Florian Müllner [Fri, 13 Oct 2017 14:17:46 +0000 (16:17 +0200)]
gdm: Remove separate greeter universal access icon

The idea behind always showing the icon on the login screen is that
the users' needs aren't known at that point. However we can achieve
the same behavior by including the 'always-show-universal-access-status'
key in GDM's presets, so drop the special-case.

https://bugzilla.gnome.org/show_bug.cgi?id=788943

9 years agoUpdate Friulian translation
Fabio Tomat [Wed, 11 Oct 2017 06:35:27 +0000 (06:35 +0000)]
Update Friulian translation

(cherry picked from commit 43ec5280b43dfd6f94fb44b00d3eb01fa2badf59)

9 years agoUpdated Slovenian translation
Matej Urbančič [Mon, 9 Oct 2017 18:53:39 +0000 (20:53 +0200)]
Updated Slovenian translation

9 years agolayout: Unset primary and bottom monitor when headless
Jonas Ådahl [Sat, 7 Oct 2017 00:26:24 +0000 (20:26 -0400)]
layout: Unset primary and bottom monitor when headless

We were handling being initially headless by only setting the primary
and bottom monitor if there was any primary monitor, then checking the
primary monitor reference before making calls assuming there was any
monitors.

What we didn't do was unset the primary and bottom monitor when going
headless, meaning that temporarly disconnecting a monitor while having
windows open caused an assert to be triggered due to various code paths
taking the path assuming there are valid monitors.

Unsetting both the primary and bottom monitor when going headless avoids
the code paths in the same way as they were avoided when starting
headless.

https://bugzilla.gnome.org/show_bug.cgi?id=788607

9 years ago[l10n] Updated Catalan (Valencian) translation
Xavi Ivars [Thu, 5 Oct 2017 11:59:19 +0000 (13:59 +0200)]
[l10n] Updated Catalan (Valencian) translation

9 years agoBump version to 3.26.1
Florian Müllner [Wed, 4 Oct 2017 15:36:42 +0000 (17:36 +0200)]
Bump version to 3.26.1

Update NEWS.

9 years agotests: Fix JS warning
Florian Müllner [Wed, 4 Oct 2017 16:10:35 +0000 (18:10 +0200)]
tests: Fix JS warning

9 years agobuild: Run unit tests on `meson test`
Florian Müllner [Sat, 19 Aug 2017 08:43:38 +0000 (10:43 +0200)]
build: Run unit tests on `meson test`

Meson makes it easy to define unit tests, so hook up the existing
ones.

https://bugzilla.gnome.org/show_bug.cgi?id=786497

9 years agopopupMenu: Close menus on session mode changes
Florian Müllner [Thu, 14 Sep 2017 15:12:12 +0000 (17:12 +0200)]
popupMenu: Close menus on session mode changes

We are already closing top bar menus on session mode changes, but
as this behavior makes sense for any other menus as well - dash
context menus or the background menu for instance - just generalize
the behavior.

https://bugzilla.gnome.org/show_bug.cgi?id=787676

9 years agodialog: Fix setting buttons as initial key focus
Florian Müllner [Thu, 28 Sep 2017 10:38:33 +0000 (12:38 +0200)]
dialog: Fix setting buttons as initial key focus

Commit 1c7a3ee61b1892 broke setting the initial key focus for default
buttons added via addButton(). Fix this by allowing the dialog class
to provide a different default widget to ModalDialog than the entire
dialog itself.

https://bugzilla.gnome.org/show_bug.cgi?id=788282

9 years agoworkspace: Focus clone when highlighting
Florian Müllner [Sun, 20 Aug 2017 15:53:41 +0000 (17:53 +0200)]
workspace: Focus clone when highlighting

We don't use different hover- and focus indications for window previews,
so using keyboard navigation after hovering a clone often has surprising
results when the previous focus window wasn't the selected one. Address
this by simply moving the keyboard focus with the highlight.

https://bugzilla.gnome.org/show_bug.cgi?id=786546

9 years agoworkspace: Fix tab navigation order
Florian Müllner [Sun, 20 Aug 2017 09:19:39 +0000 (11:19 +0200)]
workspace: Fix tab navigation order

By default the focus chain uses the same order as the list returned
by clutter_actor_get_children(), which corresponds to the z-order.
This doesn't work well in the window picker, where clones follow
the stacking of windows to ensure a correct overview transition,
but previews are laid out purely based on space efficiency. As
a result, the order in which window previews are navigated when
tabbing around is essentially random. Fix this by providing a
focus chain implementation that is based on the visual layout
of the previews rather than the stacking.

https://bugzilla.gnome.org/show_bug.cgi?id=786546

9 years agoweather: Mark conditions as significant
Florian Müllner [Wed, 4 Oct 2017 15:02:36 +0000 (17:02 +0200)]
weather: Mark conditions as significant

Otherwise the passed phenomenon/qualifier are ignored and a fallback
string is used.

9 years agoui: Improve handling being headless
Jonas Ådahl [Wed, 12 Apr 2017 06:46:54 +0000 (14:46 +0800)]
ui: Improve handling being headless

Don't assume there will always be a primary (logical) monitor, or any
(logical) monitor at all. This includes not allocating / layouting /
styling correctly when being headless.

The initial background loading will also be delayed until there are any
(logical) monitors connected.

https://bugzilla.gnome.org/show_bug.cgi?id=730551

9 years agocalendar: Rebuild the calendar when the time zone changes
Martin Andersson [Thu, 13 Aug 2015 22:57:49 +0000 (23:57 +0100)]
calendar: Rebuild the calendar when the time zone changes

A time zone change can cause the date to change so we need to clear
SpiderMonkey's time zone cache and rebuild the calendar.

https://bugzilla.gnome.org/show_bug.cgi?id=678507

9 years agoUpdate Swedish translation
Anders Jonsson [Mon, 2 Oct 2017 18:49:00 +0000 (18:49 +0000)]
Update Swedish translation

9 years agoUpdate Chinese (Taiwan) translation
Cheng-Chia Tseng [Sun, 1 Oct 2017 14:27:01 +0000 (14:27 +0000)]
Update Chinese (Taiwan) translation

9 years ago[L10N] Update Persian translation
Arash Mousavi [Sun, 1 Oct 2017 13:35:05 +0000 (17:05 +0330)]
[L10N] Update Persian translation

9 years agoUpdate Malayalam translation
Athul R T [Sat, 30 Sep 2017 11:42:58 +0000 (11:42 +0000)]
Update Malayalam translation

9 years agotools: Remove obsolete check-for-missing script
Florian Müllner [Sat, 30 Sep 2017 01:08:59 +0000 (03:08 +0200)]
tools: Remove obsolete check-for-missing script

The script was used by a distcheck hook to check for files that are
in git, but not the distributed tarball. We dropped autotools support,
so the script is no longer used - in fact, it isn't useful anymore,
as `ninja dist` generates tarballs from git itself rather than from
a separately maintained list of files ...

9 years agoshell-app: Don't transition to STOPPED while still in the STARTING state
Mario Sanchez Prada [Fri, 29 Sep 2017 10:47:31 +0000 (11:47 +0100)]
shell-app: Don't transition to STOPPED while still in the STARTING state

Similar to what it's done in _shell_app_add_window(), rely on calling
shell_app_sync_running_state() when removing windows too, to avoid
transitioning to STOPPED while it's still in the STARTING state.

This makes the logic compliant with the startup notification spec and
prevents stopping an application too early if it has a splash screen
that has been closed before the application's main window is shown.

https://bugzilla.gnome.org/show_bug.cgi?id=787905

9 years agowindowManager: Disable OSK gesture on lock screen
Florian Müllner [Mon, 25 Sep 2017 13:26:14 +0000 (15:26 +0200)]
windowManager: Disable OSK gesture on lock screen

On the screen shield, the only possible interaction is lifting the
shield. The on-screen-keyboard is not useful for that, and the drag
gesture from the bottom may in fact conflict with dragging up the
shield, so disable it.

https://bugzilla.gnome.org/show_bug.cgi?id=788339

9 years agocalendar: Make notification icons font-relative
Florian Müllner [Fri, 29 Sep 2017 12:56:19 +0000 (14:56 +0200)]
calendar: Make notification icons font-relative

As notification icons now align with the title, it makes sense for
them to follow the text size in case a text-scaling-factor other
than 1 is applied.

https://bugzilla.gnome.org/show_bug.cgi?id=788265

9 years agomessageTray: Check monitor's existence before trying to update the state
Mario Sanchez Prada [Tue, 26 Sep 2017 10:03:33 +0000 (11:03 +0100)]
messageTray: Check monitor's existence before trying to update the state

Not doing this will throw a backtrace when running on headless mode and
trying to show a notification, due to Main.layoutManager.primaryMonitor
being undefined, so it's better to return early.

https://bugzilla.gnome.org/show_bug.cgi?id=730551

9 years agoUpdate Icelandic translation
Sveinn í Felli [Tue, 26 Sep 2017 18:10:03 +0000 (18:10 +0000)]
Update Icelandic translation

9 years agoUpdate Icelandic translation
Sveinn í Felli [Mon, 25 Sep 2017 17:02:52 +0000 (17:02 +0000)]
Update Icelandic translation

9 years agonotificationDaemon: Guard against invalid D-Bus object paths
Krzesimir Nowak [Fri, 18 Nov 2016 14:52:46 +0000 (15:52 +0100)]
notificationDaemon: Guard against invalid D-Bus object paths

When making any D-Bus call through the GDBus' proxy wrapper with an
invalid D-Bus object path, gnome-shell hangs.

Supposedly FdoApplicationProxy constructor should validate the passed
D-Bus object path and throw an error if the path is invalid. Since it
does not do that, we work it around by making sure that the deduced
D-Bus object path is valid or throw an exception if the path is not.

https://bugzilla.gnome.org/show_bug.cgi?id=787902

9 years agonotificationDaemon: Consider hyphens for app ID to object path translations
Krzesimir Nowak [Fri, 18 Nov 2016 14:52:46 +0000 (15:52 +0100)]
notificationDaemon: Consider hyphens for app ID to object path translations

Some application IDs contain hyphens, which are not allowed in D-Bus object
paths, so we need to update the translation by converting them to something
that's a valid object path. This is consistent with what GApplication does.

https://bugzilla.gnome.org/show_bug.cgi?id=787902

9 years agologinManager: Handle unset XDG_SESSION_ID more gracefully
Florian Müllner [Thu, 5 Nov 2015 13:49:23 +0000 (14:49 +0100)]
loginManager: Handle unset XDG_SESSION_ID more gracefully

While certain functionality won't be available when running outside a
(logind) user session, that's still better than crashing ...

https://bugzilla.gnome.org/show_bug.cgi?id=788046

9 years agobuild: Use new mkenums_simple() function
Florian Müllner [Tue, 15 Aug 2017 19:54:48 +0000 (21:54 +0200)]
build: Use new mkenums_simple() function

As most libraries use the same mkenums templates, meson now added a
mkenums_simple() variant that works without providing the template.

https://bugzilla.gnome.org/show_bug.cgi?id=786343

9 years agomeson: Use build_rpath instead of custom linker args
Florian Müllner [Thu, 10 Aug 2017 19:41:36 +0000 (21:41 +0200)]
meson: Use build_rpath instead of custom linker args

Meson now warns when specifying the rpath in linker flags instead
of using the newly added build_rpath option - now that we already
depend on the latest release, there's no reason anyway to not use
the nicer syntax.

https://bugzilla.gnome.org/show_bug.cgi?id=786343

9 years agobuild: Update autotools-compat wrapper
Florian Müllner [Tue, 15 Aug 2017 20:06:24 +0000 (22:06 +0200)]
build: Update autotools-compat wrapper

mesontest is now deprecated in favor of the 'test' subcommand of the
main meson executable, so use that instead to wrap 'make check'.

https://bugzilla.gnome.org/show_bug.cgi?id=786343

9 years agobuild: Require latest meson
Florian Müllner [Tue, 15 Aug 2017 19:46:27 +0000 (21:46 +0200)]
build: Require latest meson

Meson 0.42.0 fixes a build issue on systems that use Debian-style
multiarch, so require that.

https://bugzilla.gnome.org/show_bug.cgi?id=786343

9 years agost-icon: Remove some dead code
Florian Müllner [Fri, 22 Sep 2017 11:47:00 +0000 (13:47 +0200)]
st-icon: Remove some dead code

9 years agotheme: re-render with sassc
Jakub Steiner [Fri, 22 Sep 2017 15:41:18 +0000 (17:41 +0200)]
theme: re-render with sassc

pardon, pardon!

9 years agotheme: panel corner opacity
Jakub Steiner [Fri, 22 Sep 2017 15:36:07 +0000 (17:36 +0200)]
theme: panel corner opacity

- forgot to sync the corners

https://bugzilla.gnome.org/show_bug.cgi?id=787940

9 years agoUpdate sass submodule to the right commit
Florian Müllner [Fri, 22 Sep 2017 15:28:15 +0000 (17:28 +0200)]
Update sass submodule to the right commit

9 years agoadd missing close button states
Jakub Steiner [Fri, 22 Sep 2017 15:11:23 +0000 (17:11 +0200)]
add missing close button states

https://bugzilla.gnome.org/show_bug.cgi?id=788003

9 years agotheme: make top bar more legible
Jakub Steiner [Fri, 22 Sep 2017 09:07:23 +0000 (11:07 +0200)]
theme: make top bar more legible

https://bugzilla.gnome.org/show_bug.cgi?id=787940

9 years agoshadow: Only use correctly sized textures for shortcut
Florian Müllner [Fri, 22 Sep 2017 13:18:11 +0000 (15:18 +0200)]
shadow: Only use correctly sized textures for shortcut

When creating a shadow for a ClutterTexture, we currently use the
underlying CoglTexture directly instead of rendering the actor to
an offscreen buffer. This assumes that the CoglTexture is directly
suitable as shadow source, which isn't necessarily the case - it
may have a very different size than what is shown and scaled up or
down by the hardware. In that case we end up with a scaled shadow
texture as well, which messes up the desired blur effect - the
result will be too light when scaling up, or too sharp when scaling
down. To fix this, only take the shortcut when a ClutterTexture's
underlying texture has the correct size and fall back to offscreen
rendering otherwise.

https://bugzilla.gnome.org/show_bug.cgi?id=788039

9 years agodnd: Prevent dividing by zero when calculating the scale factor
Mario Sanchez Prada [Fri, 30 Jun 2017 01:22:42 +0000 (01:22 +0000)]
dnd: Prevent dividing by zero when calculating the scale factor

This ensures that we snap back to the correct size when the
source actor has been scaled to 0.

https://bugzilla.gnome.org/show_bug.cgi?id=787901

9 years agoUpdate Persian translation
Arash Mousavi [Fri, 22 Sep 2017 13:50:33 +0000 (13:50 +0000)]
Update Persian translation

9 years agoremoteSearch: Fix remote search providers
Florian Müllner [Tue, 19 Sep 2017 21:58:29 +0000 (23:58 +0200)]
remoteSearch: Fix remote search providers

Commit 289f982949c2 broke all remote providers when adding support for
non-auto-started search providers: Whether the provider should be
auto-started needs to be known in the constructor, so setting the
property on the constructed object doesn't work.

https://bugzilla.gnome.org/show_bug.cgi?id=787986

9 years agoMake key-above-tab in switcher more consistent
Didier Roche [Thu, 14 Sep 2017 07:30:16 +0000 (09:30 +0200)]
Make key-above-tab in switcher more consistent

Ensure that key-above-tab for selecting window application is consistent
with the down key.
After focus an application in the switcher:
- if you press down, the window thumbnails are previewed, and first element
  is selected
- if you press key-above-tab, the window thumbnails are previewed, however
  the second element is directly selected.
Make both interactions always select the first element.

https://bugzilla.gnome.org/show_bug.cgi?id=786009

9 years agodnd: Declare dragMonitors with var
Florian Müllner [Mon, 18 Sep 2017 17:38:18 +0000 (19:38 +0200)]
dnd: Declare dragMonitors with var

It is used outside the DND module itself.

https://bugzilla.gnome.org/show_bug.cgi?id=787907

9 years agowindowManager: Remove excess parameter
Florian Müllner [Mon, 18 Sep 2017 17:37:07 +0000 (19:37 +0200)]
windowManager: Remove excess parameter

https://bugzilla.gnome.org/show_bug.cgi?id=787907

9 years agoautorunManager: Avoid access to non-existent array element
Florian Müllner [Sun, 17 Sep 2017 09:37:52 +0000 (11:37 +0200)]
autorunManager: Avoid access to non-existent array element

https://bugzilla.gnome.org/show_bug.cgi?id=787907

9 years agoFix some more undefined property warnings
Florian Müllner [Sun, 17 Sep 2017 08:37:17 +0000 (10:37 +0200)]
Fix some more undefined property warnings

https://bugzilla.gnome.org/show_bug.cgi?id=787907

9 years agogtk-embed: ensure we only listen for window-created events once
Ray Strode [Thu, 14 Sep 2017 18:46:13 +0000 (14:46 -0400)]
gtk-embed: ensure we only listen for window-created events once

If a tray icon gets a mapped and unmapped and the mapped again
in quick succession, we can end up with multiple handlers
listening for window creation events.

This commit tries to guard against that by only listening for
window-created events when we don't  know the actor associated
with the icon.

https://bugzilla.gnome.org/show_bug.cgi?id=787361

9 years agoUpdate Russian translation
Stas Solovey [Thu, 14 Sep 2017 21:43:54 +0000 (21:43 +0000)]
Update Russian translation

9 years agoremoteSearch: Allow search providers not to auto-start
Bastien Nocera [Thu, 24 Aug 2017 11:06:45 +0000 (13:06 +0200)]
remoteSearch: Allow search providers not to auto-start

This would be used by search providers which only operate on data in the
running instance, such as the terminal's search provider which finds the
shell in the tab matching the search text.

https://bugzilla.gnome.org/show_bug.cgi?id=785380